package com.relytosoft.mizar.media.analyze.api.pojo.dto;

import com.relytosoft.mizar.media.analyze.api.pojo.vo.AyCameraVo;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author lj
 * @date 2022/6/8 17:53
 */
public class AyBehaviorTaskSonDto implements Serializable {

    private static final long serialVersionUID = -81207907908724058L;

    /**
     * 主任务ID
     */
    @ApiModelProperty(value = "主任务ID", required = true)
    @NotNull(message = "主任务ID不能为空")
    private Integer behaviorTaskId;

    /**
     * 设备
     */
    @ApiModelProperty(value = "设备", required = true)
    @NotNull(message = "设备不能为空")
    private List<AyCameraVo> ayCameraVos;


    public Integer getBehaviorTaskId() {
        return behaviorTaskId;
    }

    public void setBehaviorTaskId(Integer behaviorTaskId) {
        this.behaviorTaskId = behaviorTaskId;
    }

    public List<AyCameraVo> getAyCameraVos() {
        return ayCameraVos;
    }

    public void setAyCameraVos(List<AyCameraVo> ayCameraVos) {
        this.ayCameraVos = ayCameraVos;
    }

    @Override
    public String toString() {
        return "AyBehaviorTaskSonDto{" +
                "behaviorTaskId=" + behaviorTaskId +
                ", ayCameraVos=" + ayCameraVos +
                '}';
    }
}
